//
//  HBButton.h
//  HBLibary
//
//  Created by Rambo on 2018/11/5.
//

#import <UIKit/UIKit.h>

typedef NS_ENUM(NSInteger, HBButtonImagePoint) {
    HBButtonImagePointLeft = 0,
    HBButtonImagePointRight,
    HBButtonImagePointTop,
    HBButtonImagePointBottom
};


@interface HBButton : UIButton

//rect.origin.x    += insets.left;
//rect.origin.y    += insets.top;
//rect.size.width  -= (insets.left + insets.right);
//rect.size.height -= (insets.top  + insets.bottom);
@property (nonatomic) UIEdgeInsets extendTouchEdgeInsets;           ///< 改变按钮的触摸范围

@property (nonatomic, assign) HBButtonImagePoint imagePoint;        ///< 图片的位置

@end
